package com.skyhigh.web.webservice.persistence;

import org.hibernate.type.Type;

public class Parameter {

	private int index;
    private Type type;
    private String name;
    private Object value;

    public Parameter(int index, Type type, Object value) {
        this.index = index;
        this.type = type;
        this.value = value;
    }

    public Parameter(int index, Type type, String name, Object value) {
        this.index = index;
        this.type = type;
        this.name = name;
        this.value = value;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public Type getType() {
        return type;
    }

    public void setType(Type type) {
        this.type = type;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
}
